package entity;

public class User {


    private Firend firend;

    /**
    * 用户id
    */
    private Integer uid;

    /**
    * 用户名
    */
    private String uname;

    /**
    * 密码
    */
    private String upwd;

    /**
    * 手机号（账号）
    */
    private String uphone;

    /**
    * 性别
    */
    private Integer usex;

    /**
    * 身份证号
    */
    private String uidentity;

    /**
    * 头像
    */
    private String uimg;

    /**
    * 邮箱
    */
    private String uemail;

    /**
    * 地址
    */
    private String uaddress;

    /**
    * 帖子数
    */
    private String uposts;

    /**
    * 评论数
    */
    private String ucomments;
    /**
     * 个性签名
     */
    private String ublog;

    private Comment comment;

    public Comment getComment() {
        return comment;
    }

    public void setComment(Comment comment) {
        this.comment = comment;
    }

    public Blog getBlog() {
        return blog;
    }

    public void setBlog(Blog blog) {
        this.blog = blog;
    }

    private Blog blog;

    public Like getLike() {
        return like;
    }

    public void setLike(Like like) {
        this.like = like;
    }

    private Like like;
    private int grade;
//等级
    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }


    public Firend getFirend() {
        return firend;
    }

    public void setFirend(Firend firend) {
        this.firend = firend;
    }

    public String getUblog() {
        return ublog;
    }

    public void setUblog(String ublog) {
        this.ublog = ublog;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public String getUphone() {
        return uphone;
    }

    public void setUphone(String uphone) {
        this.uphone = uphone;
    }

    public Integer getUsex() {
        return usex;
    }

    public void setUsex(Integer usex) {
        this.usex = usex;
    }

    public String  getUidentity() {
        return uidentity;
    }

    public void setUidentity(String uidentity) {
        this.uidentity = uidentity;
    }

    public String getUimg() {
        return uimg;
    }

    public void setUimg(String uimg) {
        this.uimg = uimg;
    }

    public String getUemail() {
        return uemail;
    }

    public void setUemail(String uemail) {
        this.uemail = uemail;
    }

    public String getUaddress() {
        return uaddress;
    }

    public void setUaddress(String uaddress) {
        this.uaddress = uaddress;
    }

    public String getUposts() {
        return uposts;
    }

    public void setUposts(String uposts) {
        this.uposts = uposts;
    }

    public String getUcomments() {
        return ucomments;
    }

    public void setUcomments(String ucomments) {
        this.ucomments = ucomments;
    }
}